#!/usr/bin/env python
# -*- coding:utf-8 -*-
# save this file with same folder as manage.py
import os
import sys
import django
# from utils.encrypt import md5
# set django environment
# # add current dir to sys path 
base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(base_dir)
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tracer.settings")

# run setup environment, 导入tracer.settings
django.setup() # os.environ['DJANGO_SETTINGS_MODULE']

from web import models

